]> dgit.raspbian.org Git - gnome-shell.git/commit
workspace: Always use floating layout for fade transition
authorFlorian Müllner <fmuellner@gnome.org>
Sat, 11 Jul 2020 15:38:04 +0000 (17:38 +0200)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Mon, 13 Jul 2020 17:24:43 +0000 (17:24 +0000)
commit6cdaec40010201cf50090f75836d50c632690fbc
tree52842ecac1f01eeb0154e7946ec3eccfb73bda38
parented4baec40faf84f06681d84205f87433c04e5117
workspace: Always use floating layout for fade transition

We don't animate size and position when fading, so we want all previews
to already be at their final position. However when the app picker is
opened from within the overview, window previews use the zoomed layout,
so that's the state we are then fading when leaving the overview from
the app picker.

Fix that by setting the correct state at the start of the fade transition.

(In the case of fadeToOverview(), the value should always be correct
already, but set it anyway for symmetry with fadeFromOverview())

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2969
js/ui/workspace.js